using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Jink.Protocol.Core.Headers;

namespace Jink.Protocol.Core
{
    public interface IResponseMedia
    {
        int StatusCode { get; set; }

        Encoding HeaderEncoding { get; set; }
        IDictionary<ResponseHeader, String> Headers { get; }
        IDictionary<String, String> Cookies { get; }

        Encoding ContentEncoding { get; set; }
        String ContentType { get; set; }
        TextWriter Content { get; }
        Stream ContentStream { get; }

        void DoComplete();
    }
}